package com.imti.mall.model.order.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class OmsOrderReturnReason implements Serializable {
  @TableId(type = IdType.AUTO)
  private Long id;

    @ApiModelProperty(value = "退货类型")
    private String name;

    private Integer sort;

    @ApiModelProperty(value = "状态：0->不启用；1->启用")
    private Long status;

    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;

  public OmsOrderReturnReason() {}

  public OmsOrderReturnReason(Long id, Long status) {
    this.id = id;
    this.status = status;
  }

  public OmsOrderReturnReason(String name, Integer sort, Long status, Date createTime) {
    this.name = name;
    this.sort = sort;
    this.status = status;
    this.createTime = createTime;
  }

  public OmsOrderReturnReason(Long id, String name, Integer sort, Long status, Date createTime) {
    this.id = id;
    this.name = name;
    this.sort = sort;
    this.status = status;
    this.createTime = createTime;
  }

  public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
